package com.yang.frost.raspberry.config.properties;

import org.springframework.context.annotation.Configuration;

import java.util.Arrays;

/**
 * @author 10296
 * @date 2020/12/24
 * @Description:
 */
@Configuration
public class ShiroPermissionProperties {
    /**
     * 路径
     */
    private String url;
    /**
     * 路径数组
     */
    private String[] urls;

    /**
     * 权限
     */
    private String permission;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String[] getUrls() {
        return urls;
    }

    public void setUrls(String[] urls) {
        this.urls = urls;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    @Override
    public String toString() {
        return "ShiroPermissionProperties{" +
                "url='" + url + '\'' +
                ", urls=" + Arrays.toString(urls) +
                ", permission='" + permission + '\'' +
                '}';
    }
}
